package com.shs.dao;
 
import com.shs.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单Dao
 */
@Mapper
public interface OrderDao
{
    //新建订单
    void create(Order order);
 
    //修改订单状态，从零改为1
    void update(@Param("userId") Long userId,@Param("status") Integer status);
}
 
